package com.designpatterns.ObserverPattern;

/**
 * Created by 41579 on 2017/4/26.
 */
public class TestMain {
    public static void main(String[] args) {
        Writter writter = new Writter();
        Reader reader = new Reader();
        writter.addObserver(reader);
        writter.publishBlog();
    }
}
